package com.zzptc.lxy.mybook.Bean;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

public class Note extends LitePalSupport {

    int id;
    int bookimg;   //图片
    String bookname; //书名
    String notetxt;//内容
    Date time;//时间

    public Note() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBookimg() {
        return bookimg;
    }

    public void setBookimg(int bookimg) {
        this.bookimg = bookimg;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getNotetxt() {
        return notetxt;
    }

    public void setNotetxt(String notetxt) {
        this.notetxt = notetxt;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Note(int id, int bookimg, String bookname, String notetxt, Date time) {
        this.id = id;
        this.bookimg = bookimg;
        this.bookname = bookname;
        this.notetxt = notetxt;
        this.time = time;
    }
}